package com.dream.service.recommender.domain.request;

import com.dream.service.recommender.domain.model.PageInfo;
import com.dream.service.recommender.domain.model.UserInfo;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * Created by zhiji on 2016/3/15.
 */
public class FrontParam implements Serializable {

    /**
     * 推荐位id
     */
    private String rec_id;
    /**
     * 用户信息
     */
    private UserInfo user;
    /**
     * 额外参数
     */
    private Map<String, String> extra_values;
    /**
     * 页面信息
     */
    private PageInfo page_info;
    /**
     * 编码,默认u8
     */
    private String charset;
    /**
     * 分类id(前台分类）
     */
    private Integer cid;
    /**
     * 实验
     */
    private String exp;
    /**
     * SPU
     */
    private Long spu;

    /**
     * 后台一级分类
     */
    private Integer cid1;

    /**
     * 后台二级分类
     */
    private Integer cid2;

    /**
     * 后台三级分类
     */
    private Integer cid3;
    /**
     * SPUS
     */
    private List<Long> spus;
    /**
     * 操作系统
     */
    private String os;
    /**
     * 版本号
     */
    private String version;

    /**
     * 附加信息
     */
    private String extra_info;

    private Integer cityId;

    public String getRec_id() {
        return rec_id;
    }

    public void setRec_id(String rec_id) {
        this.rec_id = rec_id;
    }

    public UserInfo getUser() {
        return user;
    }

    public void setUser(UserInfo user) {
        this.user = user;
    }

    public Map<String, String> getExtra_values() {
        return extra_values;
    }

    public void setExtra_values(Map<String, String> extra_values) {
        this.extra_values = extra_values;
    }

    public PageInfo getPage_info() {
        return page_info;
    }

    public void setPage_info(PageInfo page_info) {
        this.page_info = page_info;
    }

    public String getCharset() {
        return charset;
    }

    public void setCharset(String charset) {
        this.charset = charset;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getExp() {
        return exp;
    }

    public void setExp(String exp) {
        this.exp = exp;
    }

    public Long getSpu() {
        return spu;
    }

    public void setSpu(Long spu) {
        this.spu = spu;
    }

    public Integer getCid1() {
        return cid1;
    }

    public void setCid1(Integer cid1) {
        this.cid1 = cid1;
    }

    public Integer getCid2() {
        return cid2;
    }

    public void setCid2(Integer cid2) {
        this.cid2 = cid2;
    }

    public Integer getCid3() {
        return cid3;
    }

    public void setCid3(Integer cid3) {
        this.cid3 = cid3;
    }

    public List<Long> getSpus() {
        return spus;
    }

    public void setSpus(List<Long> spus) {
        this.spus = spus;
    }

    public String getOs() {
        return os;
    }

    public void setOs(String os) {
        this.os = os;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getExtra_info() {
        return extra_info;
    }

    public void setExtra_info(String extra_info) {
        this.extra_info = extra_info;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }
}
